import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

// https://ext.dcloud.net.cn/plugin?id=376
import sunUiOmitted from './components/sunui-omitted/sunui-omitted.vue'
import cuCustom from './colorui/components/cu-custom.vue'
import navihead from './components/navihead.vue'
import cmdprogress from './components/cmd-progress/cmd-progress.vue'
import customservice from './components/customservice.vue'
import validCode from './components/p-validCode/validCode.vue'


Vue.component('validcode',validCode);

Vue.component('sunui-omitted', sunUiOmitted);
Vue.component('cu-custom',cuCustom)
Vue.component('navihead',navihead)
Vue.component('cmd-progress',cmdprogress);
Vue.component('customservice',customservice);

import message from "./common/message.js"
import api from "./common/api.js"
import request from "./common/request.js"
import utils from "./common/utils.js" 

Vue.prototype.$message = message
Vue.prototype.$api = api
Vue.prototype.$request = request
Vue.prototype.$utils = utils 

const app = new Vue({
	...App
})
app.$mount()
